home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4511 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!genesis.demon.co.uk
  2. From: Lawrence Kirby <fred@genesis.demon.co.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: why doesn't atof work properly ?
  5. Date: Mon, 05 Feb 96 00:50:06 GMT
  6. Organization: none
  7. Message-ID: <823481406snz@genesis.demon.co.uk>
  8. References: <4f0ivh$3g7e@yuma.ACNS.ColoState.EDU> <3FEB199617132831@erich.triumf.ca> <9602041608.AA19516@dxmint.cern.ch>
  9. Reply-To: fred@genesis.demon.co.uk
  10. X-NNTP-Posting-Host: genesis.demon.co.uk
  11. X-Newsreader: Demon Internet Simple News v1.27
  12. X-Mail2News-Path: genesis.demon.co.uk
  13.  
  14. In article <9602041608.AA19516@dxmint.cern.ch>
  15.            danpop@mail.cern.ch "Dan Pop" writes:
  16.  
  17. >bennett@erich.triumf.ca (P.Bennett) writes:
  18. >
  19. >>You need to #include either (or both, if you wish) math.h or stdlib.h to get
  20. >>the prototype for atof().
  21. >
  22. >Actually, I couldn't find any requirement that <math.h> contains a
  23. >declaration for atof.
  24.  
  25. Right - atof isn't defined in <math.h> nor is it reserved so an ANSI
  26. implementation is prohibited from defining it in <math.h>
  27.  
  28. -- 
  29. -----------------------------------------
  30. Lawrence Kirby | fred@genesis.demon.co.uk
  31. Wilts, England | 70734.126@compuserve.com
  32. -----------------------------------------
  33.